#pragma once

#include "Core/Layer.h"
/*
 * ImGui是一个类似element的界面ui组件库， table button什么的
 * */
namespace Hazel {
    class ImGuiLayer : public Layer{
    public:
        ImGuiLayer();
        ~ImGuiLayer()  = default;;

        void OnAttach() override;

        void OnDetach() override;

//        void OnUpdate(Hazel::Timestep ts) override;
//        void OnEvent(Event &event) override;
        void OnImGuiRender()  override;
        void Begin();
        void End();
    private:
        float m_Time = 0.0f;
    };
}
